package com.ruoyi.system.api;

import com.ruoyi.common.core.web.domain.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "ruoyi-category")
public interface CategoryServerFeignClient {
    @GetMapping(value = "/category/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id);
}
